package cn.hansfly.array;

import java.util.Arrays;

public class SortArray {
	public static void main(String[] args) {
		int[] iarray = {1, 10, 5, 6, 9, 3};
		
		Arrays.sort(iarray);
		
		System.out.println(Arrays.toString(iarray));
		
		for(int i = 0; i < iarray.length; ++i)
			System.out.print(iarray[i] + " ");
		System.out.println(' ');
	}
}
